package org.dromara.system.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;

/**
 * 产品线对象 products_line
 *
 * @author Lion Li
 * @date 2025-07-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("products_line")
public class ProductsLine extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    private Long userId;

    /**
     * 产品线编码
     */
    private String code;

    /**
     * 品类主键
     */
    private Long brandId;


    /**
     * 产品线名称
     */
    private String lineName;

    /**
     * 图片
     */
    private String image;

    /**
     * 状态 0上架 1下架
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;


}
